package com.robot.console.client.actions;

import com.go.core.Message;
import com.robot.console.client.common.ISingleClientAction;

/**
 * Created by lvsmart on 2014/8/20.
 */
public class TeacherEnterRoomAction implements ISingleClientAction
{

	public static String KEY = "TeacherEnterRoom";

	@Override
	public Message prepareMessage(String args)
	{

		Message xmlMessage = new Message(KEY);
		xmlMessage.setAttribute("room", args);
		return xmlMessage;
	}

	@Override
	public String getName()
	{
		return KEY;
	}
}
